package com.dtx.day1.dao.impl;

import com.dtx.day1.dao.GoodsDao;
import com.dtx.day1.entity.Goods;
import com.dtx.day5.day05Annotation.Component;

import java.math.BigDecimal;
import java.util.Date;
@Component
public class GoodsDaoImpl implements GoodsDao {
    @Override
    public Goods findGoods() {
        return new Goods("111","goodsName",new BigDecimal("33.3"),"goodsDesc",new Date());
    }
}
